
<script setup>
</script>
<template>
  <div class="centerDatas">
    <div class="datas-list">
      <div class="item">
        <div class="item-icon">
          <img src="@/assets/img/data_list_icon1.png" alt />
        </div>
        <div class="meta">
          <div class="num">100%</div>
          <div class="title">设备综合完好率</div>
        </div>
      </div>
      <div class="item">
        <div class="item-icon">
          <img src="@/assets/img/data_list_icon2.png" alt />
        </div>
        <div class="meta">
          <div class="num">84.67%</div>
          <div class="title">关重设备综合效率</div>
        </div>
      </div>
    </div>

    <div class="roundbox-list">
      <div class="bg">
        <img src="@/assets/img/centerDatas_bg.png" class="bg-img" />
      </div>
      <div class="roundbox-nth1-list">
        <div class="item">
          <div class="nth2-box">
            <div class="num-box">
              <span class="num" style="font-size:36px;">7000</span>
            </div>
            <div class="title" style="font-size:18px;">设备总台数</div>
            <div class="icon-wrap">
              <img src="@/assets/img/equment_name_iconpng.png" alt />
            </div>
            <div class="item-bottom">
              <img src="@/assets/img/data_title2_bottom_bg.png" alt />
            </div>
          </div>
        </div>
      </div>
      <div class="roundbox-nth2-list">
       <div class="item animate-box1">
          <div class="num-box">
            <span class="title">完好数</span>
            <span class="num">6950</span>
          </div>
          <div class="icon-wrap">
            <img src="@/assets/img/data_wanhao_icon.png" alt />
          </div>
          <div class="item-bottom">
            <img src="@/assets/img/data_title_bottom_bg.png" alt />
          </div>
        </div>
        <div class="item animate-box2">
          <div class="num-box">
            <span class="title">运行设备</span>
            <span class="num">6650</span>
          </div>
          <div class="icon-wrap">
            <img src="@/assets/img/data_yunxing_icon.png" alt />
          </div>
          <div class="item-bottom">
            <img src="@/assets/img/data_title_bottom_bg.png" alt />
          </div>
        </div>
      </div>
      <div class="roundbox-nth3-list">
        <div class="item animate-box3">
          <div class="num-box">
            <span class="title">故障数</span>
            <span class="num">50</span>
          </div>
          <div class="icon-wrap">
            <img src="@/assets/img/data_guzhang_icon.png" alt />
          </div>
          <div class="item-bottom">
            <img src="@/assets/img/data_title_bottom_bg.png" alt />
          </div>
        </div>
        <div class="item animate-box4">
          <div class="num-box">
            <span class="title">待机设备</span>
            <span class="num">350</span>
          </div>
          <div class="icon-wrap">
            <img src="@/assets/img/data_daiji_icon.png" alt />
          </div>
          <div class="item-bottom">
            <img src="@/assets/img/data_title_bottom_bg.png" alt />
          </div>
        </div>
      </div>
      <div class="equipment-list">
        <div class="item item0">
          <div class="item-icon">
            <img src="@/assets/img/data_jinshu_icon.png" alt />
          </div>
          <div class="meta">
            <div class="num">20</div>
            <div class="title">金属加工</div>
          </div>
        </div>
        <div class="item item1">
          <div class="item-icon">
            <img src="@/assets/img/data_dianfei_icon.png" alt />
          </div>
          <div class="meta">
            <div class="num">30</div>
            <div class="title">电气设备</div>
          </div>
        </div>
        <div class="item item2">
          <div class="item-icon">
            <img src="@/assets/img/data_energy_icon.png" alt />
          </div>
          <div class="meta">
            <div class="num">40</div>
            <div class="title">动力设备</div>
          </div>
        </div>
        <div class="item item3">
          <div class="item-icon">
            <img src="@/assets/img/data_yibiao_icon.png" alt />
          </div>
          <div class="meta">
            <div class="num">50</div>
            <div class="title">计量检测</div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>
<style scoped lang='scss'>
.centerDatas {
  // background: url(@/assets/img/.png) no-repeat center center /
  //   100% 100%;
  position: relative;
  flex: 2 0 0;
  overflow: hidden;
  // background: red;
  display: flex;
  flex-direction: column;
  .datas-list {
    display: flex;
    position: relative;
    z-index: 10;
    flex: auto 0 0;
    .item {
      padding: 10px 40px;
      display: flex;
      align-items: center;
      flex: 1 0 0;
      margin: 0 15px;
      background: url(@/assets/img/dataBorderBg.png) no-repeat left top / 100%
        100%;
    }
    .meta {
      flex: 1 0 0;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .num {
      font-size: 28px;
      color: #f12a55;
      font-weight: bold;
    }
    .title {
      font-size: 20px;
      font-weight: normal;
      font-stretch: normal;
      line-height: 29px;
      letter-spacing: 0px;
      color: #ffffff;
      text-shadow: 0px 0px 16px 0px #0ddaff;
    }
  }
  .equipment-list {
    display: flex;
    justify-content: space-around;
    margin-top: 60px;
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 5.447%;
    .item {
      display: flex;
      align-items: center;
      // .item-icon{
      //   margin-right: ;
      // }
    }
    .icon-icon {
      position: relative;
      z-index: 2;
    }
    .meta {
      position: relative;
      z-index: 0;

      padding: 0 0 10px 30px;
      width: 160px;
      height: 50px;
      margin-left: -22px;
    }
    .num {
      font-size: 32px;
      font-family: "YouSheBiaoTiHei";
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      font-size: 32px;
      position: relative;
      margin-top: -20px;
    }
    .item0 {
      .meta {
        background: url(@/assets/img/data_jinshu_title_bg.png) no-repeat left
          top;
      }
      .num {
        background-image: -webkit-linear-gradient(top, #fff, #fff, #db9a39);
      }
    }
    .item1 {
      .meta {
        background: url(@/assets/img/data_dianfei_title_bg.png) no-repeat left
          top;
      }
      .num {
        background-image: -webkit-linear-gradient(top, #fff, #fff, #61abf2);
      }
    }
    .item2 {
      .meta {
        background: url(@/assets/img/data_energy_title_bg.png) no-repeat left
          top;
      }
      .num {
        background-image: -webkit-linear-gradient(top, #fff, #fff, #8540ab);
      }
    }
    .item3 {
      .meta {
        background: url(@/assets/img/data_yibiao_title_bg.png) no-repeat left
          top;
      }
      .num {
        background-image: -webkit-linear-gradient(top, #fff, #fff, #c6ffbf);
      }
    }

    .title {
      color: #ffffff;
      font-size: 16px;
    }
  }
}
</style>
